package com.ecmcloud.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ecmcloud.common.dto.ProcessInstanceNodeRecordParamDto;
import com.ecmcloud.common.dto.Result;
import com.ecmcloud.entity.ProcessInstanceNodeRecord;

/**
 * <p>
 * 流程节点记录 服务类
 * </p>
 */
public interface IProcessInstanceNodeRecordService extends IService<ProcessInstanceNodeRecord> {
    /**
     * 节点开始
     * @param processInstanceNodeRecordParamDto
     * @return
     */
	Result<String> start(ProcessInstanceNodeRecordParamDto processInstanceNodeRecordParamDto);

    /**
     * 节点结束
     * @param processInstanceNodeRecordParamDto
     * @return
     */
    Result<String> complete(ProcessInstanceNodeRecordParamDto processInstanceNodeRecordParamDto);


}
